package csvLoader;


import csv.CsvParser;
import groovy.util.XmlSlurper;

class CsvLoaderService{

	def pathogen = "pathogen"
	def bibliography = "bibliography"
	
	def dataDef
	//CsvParser parser

	public void importData(String filePath) {

		//FIXME
		println("Importing data")
		getFileContent(filePath);
		
		
	}

	public void getFileContent(String filePath) {
		dataDef = new XmlSlurper().parse(new File(filePath) )
		//FIXME
//		dataDefCsv = new XmlSlurper().parseText(path)
		
	}
	
	

}